package cn.faurecia.whstock.service;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import cn.faurecia.dto.InStockRo;
import cn.faurecia.dto.StockVo;
import cn.faurecia.dto.WhItem;
import cn.faurecia.dto.WhStock;

@Transactional
public interface IwhStockService {
  
  Map<String, Object> instock(WhItem item,String code0,String code1,String code2,String code3,String stock);
  
  List<WhStock> queryByParam(WhStock stock);
  
  WhStock getStockByItem(int itemId);
  
  int updateByPrimaryKey(WhStock record);
  
  Map<String, Object> outstock(String[] itemCodes);
  
  List<StockVo> queryFullData();
  
}
